Repository navigation
feat(ui): restyle to the lime spec sheet design - #96
Merged
Merged
Conversation
Consent now comes from a context the app provides. The dialog also times out a silent iframe into a Retry state and moves focus to Close after consent.
… the inspect card
Charts may use colour; UI chrome stays monotone plus lime. Eight categorical hues and a five-step wear ramp, with light and dark values, tested for 3:1 on the card, Oklab distance between neighbours (also under deuteranopia and protanopia) and distance from the accent lime.
Slices, legend dots and bars share one colour. A data slice already named Other joins the folded tail, which also fixes duplicate React keys leaving an orphan row behind after switching tabs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restyles the app to the "one lime" spec-sheet design and adds component tests.
Design
#a0ff69, for selected, primary and live. On light it is a fill with a 1px ink edge (#3a7310); text, strokes and focus use the ink.control-border,accent-edgeandprimary-edgein every colour scheme, tested at 3:1 or more. Rosé Pine light accent darkened to reach 4.5:1.Charts
--chart-1..8and--wear-1..5, tested for contrast on the card, neighbour separation and distance from the accent.Tests
Checks
vp check,pnpm test(785 pass),pnpm buildsite/:pnpm typecheck,pnpm buildKnown gaps: chart colours are measured against the default palette's cards only, and the cases page odds chart axis labels still overlap at desktop width.